<?php
date_default_timezone_set('Asia/Shanghai');
class Config{
	
	var $DBDNS;
	var $DBID;
	var $PASSWORD;
	var $DB_SpecailTarget_Left;
	var $DB_SpecailTarget_Right;
	var $DB_PreviewTable;
	
	static function getInstance(){
		static $s;
		if(!isset($s)){
			$s=new Config();
			$s->DBDNS='sqlite:'.$_SERVER["DOCUMENT_ROOT"].'\db.s3db';
			$s->DBID='';
			$s->PASSWORD='';
			$s->DB_SpecailTarget_Left='`';
			$s->DB_SpecailTarget_Right='`';
			$s->$DB_PreviewTable='';
		}
		return $s;
	}
}

?>